<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>
			Ika-
			{% if title %}
				{{ title }}
			{% else %}
				Ika
			{% endif %}
		</title>
		<link type="text/css" rel="stylesheet" href="/main.css" />
	</head>
	<body>
		Index
		<div id='navigator'>
			<ul>
				{% for item in items %}
					<li class='splitter'>|</li>
					<li>{{item}}</li>
				{% endfor %}
			</ul>
			<div id='login_logout'>
				{% if user %}
					Hello 
					{% if not edit %}
						<a href='/userlist/{{ user.email }}/#'>{{ user.nickname }}</a>
					{% else %}
						{{ user.nickname }}
					{% endif %}  
					<a href='/post.php#'>Post issue</a>  
					<a href='{{log_in_out_url}}'>Log out</a>
				{% else %}
					You haven't log in
				<a href='{{log_in_out_url}}'>Log in</a>
				{% endif %}
			</div>
		</div>
	</body>
</html>
